package com.example.utils.util;

/**
 * @Description     String格式的json进行格式化
 * @ClassName JsonFormatUtil
 * @Author xiaojiang
 * @Date 2022/6/23 下午 18:02
 */
public class JsonFormatUtil {

    public static void main(String[] args) {
        String a = "{\"listData\":{\"basic\":[{\"children\":[{\"children\":[{\"children\":[{\"children\":[{\"children\":[{\"name\":\"MCC\",\"describeContent\":\"MCC, 3位10进制数\",\"type\":1,\"describeKey\":\"MCC\",\"value\":\"460\",\"isShow\":true},{\"name\":\"MNC\",\"describeContent\":\"MNC, 2位10进制数\",\"type\":1,\"describeKey\":\"MNC\",\"value\":\"00\",\"isShow\":true},{\"name\":\"SST\",\"describeContent\":\"切片SST参数，长度8bit的整数\",\"type\":0,\"describeKey\":\"NR_SST\",\"value\":1,\"isShow\":true},{\"name\":\"SD\",\"describeContent\":\"切片SD参数，长度24bit的整数\",\"type\":0,\"describeKey\":\"NR_SD\",\"value\":1,\"isShow\":true}],\"isEdit\":false,\"name\":\"Slice\",\"indexId\":1,\"isNeedID\":true},{\"children\":[{\"name\":\"MCC\",\"describeContent\":\"MCC, 3位10进制数\",\"type\":1,\"describeKey\":\"MCC\",\"value\":\"460\",\"isShow\":true},{\"name\":\"MNC\",\"describeContent\":\"MNC, 2位10进制数\",\"type\":1,\"describeKey\":\"MNC\",\"value\":\"00\",\"isShow\":true},{\"name\":\"SST\",\"describeContent\":\"切片SST参数，长度8bit的整数\",\"type\":0,\"describeKey\":\"NR_SST\",\"value\":2,\"isShow\":true},{\"name\":\"SD\",\"describeContent\":\"切片SD参数，长度24bit的整数\",\"type\":0,\"describeKey\":\"NR_SD\",\"value\":2,\"isShow\":true}],\"isEdit\":false,\"name\":\"Slice\",\"indexId\":2,\"isNeedID\":true},{\"children\":[{\"name\":\"MCC\",\"describeContent\":\"MCC, 3位10进制数\",\"type\":1,\"describeKey\":\"MCC\",\"value\":\"460\",\"isShow\":true},{\"name\":\"MNC\",\"describeContent\":\"MNC, 2位10进制数\",\"type\":1,\"describeKey\":\"MNC\",\"value\":\"00\",\"isShow\":true},{\"name\":\"SST\",\"describeContent\":\"切片SST参数，长度8bit的整数\",\"type\":0,\"describeKey\":\"NR_SST\",\"value\":3,\"isShow\":true},{\"name\":\"SD\",\"describeContent\":\"切片SD参数，长度24bit的整数\",\"type\":0,\"describeKey\":\"NR_SD\",\"value\":3,\"isShow\":true}],\"isEdit\":false,\"name\":\"Slice\",\"indexId\":3,\"isNeedID\":true},{\"children\":[{\"name\":\"MCC\",\"describeContent\":\"MCC, 3位10进制数\",\"type\":1,\"describeKey\":\"MCC\",\"value\":\"460\",\"isShow\":true},{\"name\":\"MNC\",\"describeContent\":\"MNC, 2位10进制数\",\"type\":1,\"describeKey\":\"MNC\",\"value\":\"00\",\"isShow\":true},{\"name\":\"SST\",\"describeContent\":\"切片SST参数，长度8bit的整数\",\"type\":0,\"describeKey\":\"NR_SST\",\"value\":4,\"isShow\":true},{\"name\":\"SD\",\"describeContent\":\"切片SD参数，长度24bit的整数\",\"type\":0,\"describeKey\":\"NR_SD\",\"value\":4,\"isShow\":true}],\"isEdit\":false,\"name\":\"Slice\",\"indexId\":4,\"isNeedID\":true}],\"isEdit\":false,\"name\":\"SliceSupportList\",\"isComConfig\":true},{\"children\":[{\"children\":[{\"name\":\"UE_Key\",\"describeContent\":\"UE Key, 32个16进制数\",\"type\":1,\"describeKey\":\"UEKey\",\"value\":\"1234567890abcdef1111111111111111\",\"isShow\":true},{\"name\":\"OP\",\"describeContent\":\"OP, 32个16进制数\",\"type\":1,\"describeKey\":\"OP\",\"value\":\"12345678901234561234567890123456\",\"isShow\":true},{\"name\":\"CalculateOPc\",\"describeContent\":\"CalculateOPc, 是否计算OPc。需要计算：true，不需要计算：false\",\"type\":2,\"describeKey\":\"CalculateOPc\",\"value\":[\"true\",\"false\"],\"isShow\":true},{\"name\":\"ABBA\",\"describeContent\":\"以$开始的4个16进制数字\",\"type\":1,\"describeKey\":\"ABBA\",\"value\":\"$0000\",\"isShow\":false},{\"name\":\"Integrity_Algo\",\"describeContent\":\"完整性保护算法。 0: 空算法，1: AES算法，2：Snow3G算法，3：ZUC算法\",\"type\":2,\"describeKey\":\"Integrity Algo\",\"value\":[1,0,2,3],\"isShow\":true},{\"name\":\"Ciphering_Algo\",\"describeContent\":\"安全保护算法。 0: 空算法，1: AES算法，2：Snow3G算法，3：ZUC算法\",\"type\":2,\"describeKey\":\"Ciphering Algo\",\"value\":[0,1,2,3],\"isShow\":true}],\"isEdit\":false,\"name\":\"AuthInfo\",\"indexId\":1,\"isNeedID\":true}],\"isEdit\":false,\"name\":\"AuthInfoList\",\"isComConfig\":true},{\"children\":[{\"children\":[{\"name\":\"QoS_Rule_Id\",\"describeContent\":\"QoS Rule Id, 取值范围为 1-255\",\"type\":0,\"describeKey\":\"QoS Rule Id\",\"value\":1,\"isShow\":true},{\"name\":\"Qos_Flow_Id\",\"describeContent\":\"QoS Flow Id, 取值范围为 0-63\",\"type\":0,\"describeKey\":\"QoS Flow Id\",\"value\":1,\"isShow\":true},{\"name\":\"5QI\",\"describeContent\":\"5QI, 取值范围为 0-255\",\"type\":0,\"describeKey\":\"fiveQI\",\"value\":1,\"isShow\":true},{\"name\":\"MFBR_UL\",\"describeContent\":\"MFBR UL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"MFBR_UL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"MFBR_DL\",\"describeContent\":\"MFBR DL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"MFBR_DL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"GFBR_UL\",\"describeContent\":\"GFBR UL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"GFBR_UL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"GFBR_DL\",\"describeContent\":\"GFBR DL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"GFBR_DL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"PriorityLevelARP\",\"describeContent\":\"PriorityLevelARP, 取值范围为 1-15\",\"type\":0,\"describeKey\":\"PriorityLevelARP\",\"value\":1,\"isShow\":true},{\"name\":\"Pre_emptionCapability\",\"describeContent\":\"Pre emptionCapability: may-trigger-pre-emption 或 shall-not-trigger-pre-emption\",\"type\":2,\"describeKey\":\"Pre_emptionCapability\",\"value\":[\"may-trigger-pre-emption\",\"shall-not-trigger-pre-emption\"],\"isShow\":true},{\"name\":\"Pre_emptionVulnerability\",\"describeContent\":\"Pre emptionVulnerability: not-pre-emptable 或 pre-emptable\",\"type\":2,\"describeKey\":\"Pre_emptionVulnerability\",\"value\":[\"not-pre-emptable\",\"pre-emptable\"],\"isShow\":true},{\"name\":\"ReflectiveQosAttribute\",\"describeContent\":\"ReflectiveQosAttribute: 包含或不包含ReflectiveQosAttribute\",\"type\":2,\"describeKey\":\"ReflectiveQosAttribute\",\"value\":[\"include\",\"exclude\"],\"isShow\":true},{\"name\":\"QCI\",\"describeContent\":\"QCI, 取值范围为 0-255\",\"type\":0,\"describeKey\":\"QCI\",\"value\":1,\"isShow\":true},{\"name\":\"eRAB_Id\",\"describeContent\":\"eRAB_Id, 取值范围为 1-15\",\"type\":1,\"describeKey\":\"eRAB_Id\",\"value\":1,\"isShow\":false},{\"name\":\"EPS_MBR_UL\",\"describeContent\":\"EPS_MBR_UL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"EPS_MBR_UL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"EPS_MBR_DL\",\"describeContent\":\"EPS_MBR_DL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"EPS_MBR_DL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"EPS_GBR_UL\",\"describeContent\":\"EPS_GBR_UL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"EPS_GBR_UL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"EPS_GBR_DL\",\"describeContent\":\"EPS_GBR_DL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"EPS_GBR_DL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"EPS_APN_AMBR_UL\",\"describeContent\":\"EPS_APN_AMBR_UL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"EPS_APN_AMBR_UL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"EPS_APN_AMBR_DL\",\"describeContent\":\"EPS_APN_AMBR_DL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"EPS_APN_AMBR_DL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"TFT_Local_Port_Start\",\"describeContent\":\"TFT本地端口最小值，取值范围：1-65534\",\"type\":0,\"describeKey\":\"TFT_Local_Port_Start\",\"value\":10000,\"isShow\":true},{\"name\":\"TFT_Local_Port_End\",\"describeContent\":\"TFT本地端口最大值，取值范围：2-65535\",\"type\":0,\"describeKey\":\"TFT_Local_Port_End\",\"value\":20000,\"isShow\":true},{\"name\":\"TFT_Remote_IP\",\"describeContent\":\"TFT远端IP地址，IPv4 或 IPv6\",\"type\":1,\"describeKey\":\"TFT_Remote_IP\",\"value\":\"2.2.2.2\",\"isShow\":true},{\"name\":\"TFT_Remote_Port_Start\",\"describeContent\":\"TFT远端端口最小值，取值范围：1-65534\",\"type\":0,\"describeKey\":\"TFT_Remote_Port_Start\",\"value\":10000,\"isShow\":true},{\"name\":\"TFT_Remote_Port_End\",\"describeContent\":\"TFT远端端口最大值，取值范围：2-65535\",\"type\":0,\"describeKey\":\"TFT_Remote_Port_End\",\"value\":20000,\"isShow\":true},{\"name\":\"TFT_Protocol_Id\",\"describeContent\":\"TFT_Protocol_Id，1：ICMP，6：TCP，17：UDP\",\"type\":2,\"describeKey\":\"TFT_Protocol_Id\",\"value\":[1,6,17],\"isShow\":true}],\"isEdit\":false,\"name\":\"QoS\",\"indexId\":1,\"isNeedID\":false},{\"children\":[{\"name\":\"QoS_Rule_Id\",\"describeContent\":\"QoS Rule Id, 取值范围为 1-255\",\"type\":0,\"describeKey\":\"QoS Rule Id\",\"value\":5,\"isShow\":true},{\"name\":\"Qos_Flow_Id\",\"describeContent\":\"QoS Flow Id, 取值范围为 0-63\",\"type\":0,\"describeKey\":\"QoS Flow Id\",\"value\":5,\"isShow\":true},{\"name\":\"5QI\",\"describeContent\":\"5QI, 取值范围为 0-255\",\"type\":0,\"describeKey\":\"fiveQI\",\"value\":5,\"isShow\":true},{\"name\":\"MFBR_UL\",\"describeContent\":\"MFBR UL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"MFBR_UL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"MFBR_DL\",\"describeContent\":\"MFBR DL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"MFBR_DL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"GFBR_UL\",\"describeContent\":\"GFBR UL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"GFBR_UL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"GFBR_DL\",\"describeContent\":\"GFBR DL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"GFBR_DL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"PriorityLevelARP\",\"describeContent\":\"PriorityLevelARP, 取值范围为 1-15\",\"type\":0,\"describeKey\":\"PriorityLevelARP\",\"value\":1,\"isShow\":true},{\"name\":\"Pre_emptionCapability\",\"describeContent\":\"Pre emptionCapability: may-trigger-pre-emption 或 shall-not-trigger-pre-emption\",\"type\":2,\"describeKey\":\"Pre_emptionCapability\",\"value\":[\"may-trigger-pre-emption\",\"shall-not-trigger-pre-emption\"],\"isShow\":true},{\"name\":\"Pre_emptionVulnerability\",\"describeContent\":\"Pre emptionVulnerability: not-pre-emptable 或 pre-emptable\",\"type\":2,\"describeKey\":\"Pre_emptionVulnerability\",\"value\":[\"not-pre-emptable\",\"pre-emptable\"],\"isShow\":true},{\"name\":\"ReflectiveQosAttribute\",\"describeContent\":\"ReflectiveQosAttribute: 包含或不包含ReflectiveQosAttribute\",\"type\":2,\"describeKey\":\"ReflectiveQosAttribute\",\"value\":[\"include\",\"exclude\"],\"isShow\":true},{\"name\":\"QCI\",\"describeContent\":\"QCI, 取值范围为 0-255\",\"type\":0,\"describeKey\":\"QCI\",\"value\":5,\"isShow\":true},{\"name\":\"eRAB_Id\",\"describeContent\":\"eRAB_Id, 取值范围为 1-15\",\"type\":1,\"describeKey\":\"eRAB_Id\",\"value\":1,\"isShow\":false},{\"name\":\"EPS_MBR_UL\",\"describeContent\":\"EPS_MBR_UL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"EPS_MBR_UL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"EPS_MBR_DL\",\"describeContent\":\"EPS_MBR_DL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"EPS_MBR_DL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"EPS_GBR_UL\",\"describeContent\":\"EPS_GBR_UL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"EPS_GBR_UL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"EPS_GBR_DL\",\"describeContent\":\"EPS_GBR_DL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"EPS_GBR_DL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"EPS_APN_AMBR_UL\",\"describeContent\":\"EPS_APN_AMBR_UL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"EPS_APN_AMBR_UL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"EPS_APN_AMBR_DL\",\"describeContent\":\"EPS_APN_AMBR_DL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"EPS_APN_AMBR_DL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"TFT_Local_Port_Start\",\"describeContent\":\"TFT本地端口最小值，取值范围：1-65534\",\"type\":0,\"describeKey\":\"TFT_Local_Port_Start\",\"value\":10000,\"isShow\":true},{\"name\":\"TFT_Local_Port_End\",\"describeContent\":\"TFT本地端口最大值，取值范围：2-65535\",\"type\":0,\"describeKey\":\"TFT_Local_Port_End\",\"value\":20000,\"isShow\":true},{\"name\":\"TFT_Remote_IP\",\"describeContent\":\"TFT远端IP地址，IPv4 或 IPv6\",\"type\":1,\"describeKey\":\"TFT_Remote_IP\",\"value\":\"2.2.2.2\",\"isShow\":true},{\"name\":\"TFT_Remote_Port_Start\",\"describeContent\":\"TFT远端端口最小值，取值范围：1-65534\",\"type\":0,\"describeKey\":\"TFT_Remote_Port_Start\",\"value\":10000,\"isShow\":true},{\"name\":\"TFT_Remote_Port_End\",\"describeContent\":\"TFT远端端口最大值，取值范围：2-65535\",\"type\":0,\"describeKey\":\"TFT_Remote_Port_End\",\"value\":20000,\"isShow\":true},{\"name\":\"TFT_Protocol_Id\",\"describeContent\":\"TFT_Protocol_Id，1：ICMP，6：TCP，17：UDP\",\"type\":2,\"describeKey\":\"TFT_Protocol_Id\",\"value\":[1,6,17],\"isShow\":true}],\"isEdit\":false,\"name\":\"QoS\",\"indexId\":2,\"isNeedID\":false},{\"children\":[{\"name\":\"QoS_Rule_Id\",\"describeContent\":\"QoS Rule Id, 取值范围为 1-255\",\"type\":0,\"describeKey\":\"QoS Rule Id\",\"value\":9,\"isShow\":true},{\"name\":\"Qos_Flow_Id\",\"describeContent\":\"QoS Flow Id, 取值范围为 0-63\",\"type\":0,\"describeKey\":\"QoS Flow Id\",\"value\":9,\"isShow\":true},{\"name\":\"5QI\",\"describeContent\":\"5QI, 取值范围为 0-255\",\"type\":0,\"describeKey\":\"fiveQI\",\"value\":9,\"isShow\":true},{\"name\":\"MFBR_UL\",\"describeContent\":\"MFBR UL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"MFBR_UL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"MFBR_DL\",\"describeContent\":\"MFBR DL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"MFBR_DL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"GFBR_UL\",\"describeContent\":\"GFBR UL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"GFBR_UL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"GFBR_DL\",\"describeContent\":\"GFBR DL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"GFBR_DL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"PriorityLevelARP\",\"describeContent\":\"PriorityLevelARP, 取值范围为 1-15\",\"type\":0,\"describeKey\":\"PriorityLevelARP\",\"value\":1,\"isShow\":true},{\"name\":\"Pre_emptionCapability\",\"describeContent\":\"Pre emptionCapability: may-trigger-pre-emption 或 shall-not-trigger-pre-emption\",\"type\":2,\"describeKey\":\"Pre_emptionCapability\",\"value\":[\"may-trigger-pre-emption\",\"shall-not-trigger-pre-emption\"],\"isShow\":true},{\"name\":\"Pre_emptionVulnerability\",\"describeContent\":\"Pre emptionVulnerability: not-pre-emptable 或 pre-emptable\",\"type\":2,\"describeKey\":\"Pre_emptionVulnerability\",\"value\":[\"not-pre-emptable\",\"pre-emptable\"],\"isShow\":true},{\"name\":\"ReflectiveQosAttribute\",\"describeContent\":\"ReflectiveQosAttribute: 包含或不包含ReflectiveQosAttribute\",\"type\":2,\"describeKey\":\"ReflectiveQosAttribute\",\"value\":[\"include\",\"exclude\"],\"isShow\":true},{\"name\":\"QCI\",\"describeContent\":\"QCI, 取值范围为 0-255\",\"type\":0,\"describeKey\":\"QCI\",\"value\":9,\"isShow\":true},{\"name\":\"eRAB_Id\",\"describeContent\":\"eRAB_Id, 取值范围为 1-15\",\"type\":1,\"describeKey\":\"eRAB_Id\",\"value\":1,\"isShow\":false},{\"name\":\"EPS_MBR_UL\",\"describeContent\":\"EPS_MBR_UL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"EPS_MBR_UL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"EPS_MBR_DL\",\"describeContent\":\"EPS_MBR_DL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"EPS_MBR_DL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"EPS_GBR_UL\",\"describeContent\":\"EPS_GBR_UL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"EPS_GBR_UL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"EPS_GBR_DL\",\"describeContent\":\"EPS_GBR_DL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"EPS_GBR_DL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"EPS_APN_AMBR_UL\",\"describeContent\":\"EPS_APN_AMBR_UL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"EPS_APN_AMBR_UL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"EPS_APN_AMBR_DL\",\"describeContent\":\"EPS_APN_AMBR_DL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"EPS_APN_AMBR_DL\",\"value\":\"5000000\",\"isShow\":true},{\"name\":\"TFT_Local_Port_Start\",\"describeContent\":\"TFT本地端口最小值，取值范围：1-65534\",\"type\":0,\"describeKey\":\"TFT_Local_Port_Start\",\"value\":10000,\"isShow\":true},{\"name\":\"TFT_Local_Port_End\",\"describeContent\":\"TFT本地端口最大值，取值范围：2-65535\",\"type\":0,\"describeKey\":\"TFT_Local_Port_End\",\"value\":20000,\"isShow\":true},{\"name\":\"TFT_Remote_IP\",\"describeContent\":\"TFT远端IP地址，IPv4 或 IPv6\",\"type\":1,\"describeKey\":\"TFT_Remote_IP\",\"value\":\"2.2.2.2\",\"isShow\":true},{\"name\":\"TFT_Remote_Port_Start\",\"describeContent\":\"TFT远端端口最小值，取值范围：1-65534\",\"type\":0,\"describeKey\":\"TFT_Remote_Port_Start\",\"value\":10000,\"isShow\":true},{\"name\":\"TFT_Remote_Port_End\",\"describeContent\":\"TFT远端端口最大值，取值范围：2-65535\",\"type\":0,\"describeKey\":\"TFT_Remote_Port_End\",\"value\":20000,\"isShow\":true},{\"name\":\"TFT_Protocol_Id\",\"describeContent\":\"TFT_Protocol_Id，1：ICMP，6：TCP，17：UDP\",\"type\":2,\"describeKey\":\"TFT_Protocol_Id\",\"value\":[1,6,17],\"isShow\":true}],\"isEdit\":false,\"name\":\"QoS\",\"indexId\":3,\"isNeedID\":false}],\"isEdit\":false,\"name\":\"QoSList\",\"isComConfig\":true},{\"children\":[{\"children\":[{\"name\":\"DNN\",\"describeContent\":\"DNN, 由字母或数字组成的字符串\",\"type\":1,\"describeKey\":\"DNN\",\"value\":\"cment\",\"isShow\":true},{\"name\":\"Session_AMBR_DL\",\"describeContent\":\"Session AMBR DL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"Session_AMBR_DL\",\"value\":\"500000000\",\"isShow\":true},{\"name\":\"Session_AMBR_UL\",\"describeContent\":\"Session AMBR UL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"Session_AMBR_UL\",\"value\":\"500000000\",\"isShow\":true},{\"children\":[{\"name\":\"commonConfigData\",\"checked\":3,\"describeContent\":\"对应commonConfigData配置下公共参数\",\"tooltipType\":0,\"isNeedID\":false,\"type\":2,\"describeKey\":\"commonConfigData\",\"value\":\"QoSList\"}],\"isEdit\":false,\"name\":\"Default_QoS_Rule_Id\"},{\"children\":[{\"name\":\"commonConfigData\",\"checked\":[],\"describeContent\":\"对应commonConfigData配置下公共参数\",\"tooltipType\":0,\"isNeedID\":false,\"type\":4,\"describeKey\":\"commonConfigData\",\"value\":\"QoSList\"}],\"isEdit\":false,\"name\":\"Dedicate_QoS_Rule_Id\"},{\"name\":\"PDN_Type\",\"describeContent\":\"PDN Type, IPv4或IPv6\",\"type\":2,\"describeKey\":\"PDN_Type\",\"value\":[\"IPv4\",\"IPv6\"],\"isShow\":true},{\"name\":\"UE_IPv4_Subnet\",\"describeContent\":\"UE IPv4 地址子网\",\"type\":1,\"describeKey\":\"UE_IPv4_Subnet\",\"value\":\"1.1.1.0\",\"isShow\":true},{\"name\":\"UE_IPv6_Subnet\",\"describeContent\":\"UE IPv6 地址子网\",\"type\":1,\"describeKey\":\"UE_IPv6_Subnet\",\"value\":\"1:1:1::0\",\"isShow\":true},{\"name\":\"DNN_Type\",\"describeContent\":\"DNN Type, ims或internet\",\"type\":2,\"describeKey\":\"DNN_Type\",\"value\":[\"internet\",\"ims\"],\"isShow\":true},{\"children\":[{\"name\":\"commonConfigData\",\"checked\":1,\"describeContent\":\"UPF_N3_IP 地址\",\"tooltipType\":0,\"isNeedID\":false,\"type\":2,\"describeKey\":\"UPF_N3_IP_Address\",\"value\":\"GTP_IP_Addr\"}],\"isEdit\":false,\"name\":\"Specific_UPF_N3_IP_Address\"},{\"name\":\"Included_UP_SecurityIndication\",\"describeContent\":\"是否带 UP SecurityIndication参数。true为带，false为不带\",\"type\":2,\"describeKey\":\"Included_UP_SecurityIndication\",\"value\":[\"true\",\"false\"],\"isShow\":true},{\"name\":\"Integrity_Indication\",\"describeContent\":\"空口用户面完整性保护算法: not-needed, preferred或required\",\"type\":2,\"describeKey\":\"Integrity_Indication\",\"value\":[\"not-needed\",\"preferred\",\"required\"],\"isShow\":true},{\"name\":\"Confidentiality_Indication\",\"describeContent\":\"空口用户面加密算法: not-needed, preferred或required\",\"type\":2,\"describeKey\":\"Confidentiality_Indication\",\"value\":[\"not-needed\",\"preferred\",\"required\"],\"isShow\":true},{\"name\":\"Max_Int_DataRate_UL\",\"describeContent\":\"空口用户面加密算法: bitrate64kbs 或 maximum-UE-rate\",\"type\":2,\"describeKey\":\"Max_Int_DataRate_UL\",\"value\":[\"bitrate64kbs\",\"maximum-UE-rate\"],\"isShow\":true},{\"name\":\"commonConfigData\",\"checked\":[1],\"describeContent\":\"对应commonConfigData配置下公共参数\",\"tooltipType\":\"all\",\"isNeedID\":true,\"type\":4,\"describeKey\":\"commonConfigData\",\"value\":\"SliceSupportList\"}],\"isEdit\":false,\"name\":\"PDN\",\"indexId\":1,\"isNeedID\":false},{\"children\":[{\"name\":\"DNN\",\"describeContent\":\"DNN, 由字母或数字组成的字符串\",\"type\":1,\"describeKey\":\"DNN\",\"value\":\"ims\",\"isShow\":true},{\"name\":\"Session_AMBR_DL\",\"describeContent\":\"Session AMBR DL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"Session_AMBR_DL\",\"value\":\"500000000\",\"isShow\":true},{\"name\":\"Session_AMBR_UL\",\"describeContent\":\"Session AMBR UL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"Session_AMBR_UL\",\"value\":\"500000000\",\"isShow\":true},{\"children\":[{\"name\":\"commonConfigData\",\"checked\":2,\"describeContent\":\"对应commonConfigData配置下公共参数\",\"tooltipType\":0,\"isNeedID\":false,\"type\":2,\"describeKey\":\"commonConfigData\",\"value\":\"QoSList\"}],\"isEdit\":false,\"name\":\"Default_QoS_Rule_Id\"},{\"children\":[{\"name\":\"commonConfigData\",\"checked\":[1],\"describeContent\":\"对应commonConfigData配置下公共参数\",\"tooltipType\":0,\"isNeedID\":false,\"type\":4,\"describeKey\":\"commonConfigData\",\"value\":\"QoSList\"}],\"isEdit\":false,\"name\":\"Dedicate_QoS_Rule_Id\"},{\"name\":\"PDN_Type\",\"describeContent\":\"PDN Type, IPv4或IPv6\",\"type\":2,\"describeKey\":\"PDN_Type\",\"value\":[\"IPv4\",\"IPv6\"],\"isShow\":true},{\"name\":\"UE_IPv4_Subnet\",\"describeContent\":\"UE IPv4 地址子网\",\"type\":1,\"describeKey\":\"UE_IPv4_Subnet\",\"value\":\"1.1.1.0\",\"isShow\":true},{\"name\":\"UE_IPv6_Subnet\",\"describeContent\":\"UE IPv6 地址子网\",\"type\":1,\"describeKey\":\"UE_IPv6_Subnet\",\"value\":\"1:1:1::0\",\"isShow\":true},{\"name\":\"DNN_Type\",\"describeContent\":\"DNN Type, ims或internet\",\"type\":2,\"describeKey\":\"DNN_Type\",\"value\":[\"internet\",\"ims\"],\"isShow\":true},{\"children\":[{\"name\":\"commonConfigData\",\"checked\":1,\"describeContent\":\"UPF_N3_IP 地址\",\"tooltipType\":0,\"isNeedID\":false,\"type\":2,\"describeKey\":\"UPF_N3_IP_Address\",\"value\":\"GTP_IP_Addr\"}],\"isEdit\":false,\"name\":\"Specific_UPF_N3_IP_Address\"},{\"name\":\"Included_UP_SecurityIndication\",\"describeContent\":\"是否带 UP SecurityIndication参数。true为带，false为不带\",\"type\":2,\"describeKey\":\"Included_UP_SecurityIndication\",\"value\":[\"true\",\"false\"],\"isShow\":true},{\"name\":\"Integrity_Indication\",\"describeContent\":\"空口用户面完整性保护算法: not-needed, preferred或required\",\"type\":2,\"describeKey\":\"Integrity_Indication\",\"value\":[\"not-needed\",\"preferred\",\"required\"],\"isShow\":true},{\"name\":\"Confidentiality_Indication\",\"describeContent\":\"空口用户面加密算法: not-needed, preferred或required\",\"type\":2,\"describeKey\":\"Confidentiality_Indication\",\"value\":[\"not-needed\",\"preferred\",\"required\"],\"isShow\":true},{\"name\":\"Max_Int_DataRate_UL\",\"describeContent\":\"空口用户面加密算法: bitrate64kbs 或 maximum-UE-rate\",\"type\":2,\"describeKey\":\"Max_Int_DataRate_UL\",\"value\":[\"bitrate64kbs\",\"maximum-UE-rate\"],\"isShow\":true},{\"name\":\"commonConfigData\",\"checked\":[1],\"describeContent\":\"对应commonConfigData配置下公共参数\",\"tooltipType\":\"all\",\"isNeedID\":true,\"type\":4,\"describeKey\":\"commonConfigData\",\"value\":\"SliceSupportList\"}],\"isEdit\":false,\"name\":\"PDN\",\"indexId\":2,\"isNeedID\":false}],\"isEdit\":false,\"name\":\"PDNInfoList\",\"isComConfig\":true},{\"children\":[{\"children\":[{\"name\":\"IP_Address\",\"describeContent\":\"IPv4 或 IPv6地址\",\"type\":1,\"describeKey\":\"IP_ADDRESS\",\"value\":\"10.10.215.100\",\"isShow\":true},{\"name\":\"MaskLength\",\"describeContent\":\"IP地址掩码长度\",\"type\":0,\"describeKey\":\"MaskLength\",\"value\":24,\"isShow\":true}],\"isEdit\":false,\"name\":\"IPConfig\",\"indexId\":1,\"isNeedID\":false}],\"isEdit\":false,\"name\":\"GTP_IP_Addr\",\"isComConfig\":true},{\"children\":[{\"children\":[{\"name\":\"IP_Address\",\"describeContent\":\"IPv4 或 IPv6地址\",\"type\":1,\"describeKey\":\"IP_ADDRESS\",\"value\":\"183.16.139.42\",\"isShow\":true},{\"name\":\"MaskLength\",\"describeContent\":\"IP地址掩码长度\",\"type\":0,\"describeKey\":\"MaskLength\",\"value\":24,\"isShow\":true}],\"isEdit\":false,\"name\":\"IPConfig\",\"indexId\":1,\"isNeedID\":false}],\"isEdit\":false,\"name\":\"GW_IP_Address\",\"isComConfig\":true}],\"isEdit\":false,\"name\":\"commonConfigData\"},{\"children\":[{\"children\":[{\"name\":\"AMF_IP_Address\",\"describeContent\":\"IPv4 或 IPv6地址\",\"type\":1,\"describeKey\":\"IP_ADDRESS\",\"value\":\"10.10.215.170\",\"isShow\":true},{\"name\":\"SCTP_Port\",\"describeContent\":\"SCTP端口号\",\"type\":0,\"describeKey\":\"SCTP_PORT\",\"value\":38412,\"isShow\":true},{\"name\":\"RelativeAMFCapacity\",\"describeContent\":\"Relative AMF Capacity, 取值范围为0-255\",\"type\":0,\"describeKey\":\"RelativeAMFCapacity\",\"value\":200,\"isShow\":true},{\"name\":\"Authentication_Required\",\"describeContent\":\"是否开启NAS鉴权。 0: 关闭，1: 打开\",\"type\":2,\"describeKey\":\"Authentication_Required\",\"value\":[1,0],\"isShow\":true},{\"name\":\"SMC_Required\",\"describeContent\":\"是否开启NAS安全。 0: 关闭，1: 打开\",\"type\":2,\"describeKey\":\"SMC_Required\",\"value\":[1,0],\"isShow\":true},{\"name\":\"AMF_Region_ID1\",\"describeContent\":\"AMF Region ID, 取值范围为0-255\",\"type\":0,\"describeKey\":\"AMF_Region_ID\",\"value\":1,\"isShow\":true},{\"name\":\"AMF_Set_ID1\",\"describeContent\":\"AMF Set ID, 取值范围为0-1023\",\"type\":0,\"describeKey\":\"AMF_Set_ID\",\"value\":1,\"isShow\":true},{\"name\":\"AMF_Pointer1\",\"describeContent\":\"AMF Point ID, 取值范围为0-63\",\"type\":0,\"describeKey\":\"AMF_Pointer\",\"value\":1,\"isShow\":true},{\"name\":\"MCC1\",\"describeContent\":\"MCC, 3位10进制数\",\"type\":1,\"describeKey\":\"MCC\",\"value\":\"460\",\"isShow\":true},{\"name\":\"MNC1\",\"describeContent\":\"MNC, 2位10进制数\",\"type\":1,\"describeKey\":\"MNC\",\"value\":\"00\",\"isShow\":true},{\"name\":\"AMF_Region_ID2\",\"describeContent\":\"AMF Region ID, 取值范围为0-255\",\"type\":0,\"describeKey\":\"AMF_Region_ID\",\"value\":0,\"isShow\":true},{\"name\":\"AMF_Set_ID2\",\"describeContent\":\"AMF Set ID, 取值范围为0-1023\",\"type\":0,\"describeKey\":\"AMF_Set_ID\",\"value\":0,\"isShow\":true},{\"name\":\"AMF_Pointer2\",\"describeContent\":\"AMF Point ID, 取值范围为0-63\",\"type\":0,\"describeKey\":\"AMF_Pointer\",\"value\":0,\"isShow\":true},{\"name\":\"MCC2\",\"describeContent\":\"MCC, 3位10进制数\",\"type\":1,\"describeKey\":\"MCC\",\"value\":\"\",\"isShow\":true},{\"name\":\"MNC2\",\"describeContent\":\"MNC, 2位10进制数\",\"type\":1,\"describeKey\":\"MNC\",\"value\":\"\",\"isShow\":true},{\"name\":\"commonConfigData\",\"checked\":[1,2,3],\"describeContent\":\"对应commonConfigData配置下公共参数\",\"tooltipType\":\"all\",\"isNeedID\":true,\"type\":4,\"describeKey\":\"commonConfigData\",\"value\":\"SliceSupportList\"}],\"isEdit\":false,\"name\":\"AMF\"}],\"isEdit\":false,\"name\":\"AMFList\"},{\"children\":[{\"children\":[{\"name\":\"MME_IP_Address\",\"describeContent\":\"IPv4 或 IPv6地址\",\"type\":1,\"describeKey\":\"IP_ADDRESS\",\"value\":\"10.10.215.175\",\"isShow\":true},{\"name\":\"SCTP_Port\",\"describeContent\":\"SCTP端口号\",\"type\":0,\"describeKey\":\"SCTP_PORT\",\"value\":38412,\"isShow\":true},{\"name\":\"RelativeMMECapacity\",\"describeContent\":\"Relative MME Capacity, 取值范围为0-255\",\"type\":0,\"describeKey\":\"RelativeMMECapacity\",\"value\":200,\"isShow\":true},{\"name\":\"Authentication_Required\",\"describeContent\":\"是否开启NAS鉴权。 0: 关闭，1: 打开\",\"type\":2,\"describeKey\":\"Authentication_Required\",\"value\":[1,0],\"isShow\":true},{\"name\":\"SMC_Required\",\"describeContent\":\"是否开启NAS安全。 0: 关闭，1: 打开\",\"type\":2,\"describeKey\":\"SMC_Required\",\"value\":[1,0],\"isShow\":true},{\"name\":\"MME_Group_ID1\",\"describeContent\":\"MME Group ID, 取值范围为0-65535\",\"type\":0,\"describeKey\":\"MME_Group_ID\",\"value\":1,\"isShow\":true},{\"name\":\"MME_Code1\",\"describeContent\":\"MME Code ID, 取值范围为0-255\",\"type\":0,\"describeKey\":\"MME_Code\",\"value\":1,\"isShow\":true},{\"name\":\"MCC1\",\"describeContent\":\"MCC, 3位10进制数\",\"type\":1,\"describeKey\":\"MCC\",\"value\":\"460\",\"isShow\":true},{\"name\":\"MNC1\",\"describeContent\":\"MNC, 2位10进制数\",\"type\":1,\"describeKey\":\"MNC\",\"value\":\"00\",\"isShow\":true},{\"name\":\"MME_Group_ID2\",\"describeContent\":\"MME Group ID, 取值范围为0-65535\",\"type\":0,\"describeKey\":\"MME_Group_ID\",\"value\":0,\"isShow\":true},{\"name\":\"MME_Code2\",\"describeContent\":\"MME Code ID, 取值范围为0-255\",\"type\":0,\"describeKey\":\"MME_Code\",\"value\":0,\"isShow\":true},{\"name\":\"MCC2\",\"describeContent\":\"MCC, 3位10进制数\",\"type\":1,\"describeKey\":\"MCC\",\"value\":\"\",\"isShow\":true},{\"name\":\"MNC2\",\"describeContent\":\"MNC, 2位10进制数\",\"type\":1,\"describeKey\":\"MNC\",\"value\":\"\",\"isShow\":true}],\"isEdit\":false,\"name\":\"MME\"}],\"isEdit\":false,\"name\":\"MMEList\"},{\"children\":[{\"children\":[{\"name\":\"commonConfigData\",\"checked\":1,\"describeContent\":\"UPF_N3_IP 地址\",\"tooltipType\":0,\"isNeedID\":false,\"type\":2,\"describeKey\":\"UPF_N3_IP_Address\",\"value\":\"GTP_IP_Addr\"}],\"isEdit\":false,\"name\":\"UPF_N3_IP_Address\"},{\"children\":[{\"name\":\"commonConfigData\",\"checked\":1,\"describeContent\":\"UPF_N6_IP 地址\",\"tooltipType\":0,\"isNeedID\":false,\"type\":2,\"describeKey\":\"UPF_N6_IP_Address\",\"value\":\"GW_IP_Address\"}],\"isEdit\":false,\"name\":\"UPF_N6_IP_Address\"},{\"name\":\"IMS_IP_Address\",\"describeContent\":\"IPv4 或 IPv6地址\",\"type\":1,\"describeKey\":\"IP_ADDRESS\",\"value\":\"7.1.1.1\",\"isShow\":false},{\"name\":\"DN_IP_Address\",\"describeContent\":\"IPv4 或 IPv6地址\",\"type\":1,\"describeKey\":\"IP_ADDRESS\",\"value\":\"183.16.139.59\",\"isShow\":true},{\"name\":\"VPP_OAM_IP\",\"describeContent\":\"IPv4 地址\",\"type\":1,\"describeKey\":\"IPv4_Address\",\"value\":\"6.6.6.6\",\"isShow\":false},{\"name\":\"VPP_OAM_Client_IP\",\"describeContent\":\"IPv4 或 IPv6地址\",\"type\":1,\"describeKey\":\"IP_ADDRESS\",\"value\":\"6.6.6.7\",\"isShow\":false}],\"isEdit\":false,\"name\":\"UPF/SGW\"},{\"children\":[{\"children\":[{\"name\":\"SUPI\",\"describeContent\":\"SUPI, 15个10进制数\",\"type\":1,\"describeKey\":\"SUPI\",\"value\":\"460001111100002\",\"isShow\":true},{\"name\":\"SUCI_Scheme_Output\",\"describeContent\":\"SUCI, 10个10进制数\",\"type\":1,\"describeKey\":\"SUCI\",\"value\":\"1111100002\",\"isShow\":true},{\"name\":\"MS_ISDN\",\"describeContent\":\"MSISDN, 4-11个10进制数\",\"type\":1,\"describeKey\":\"MSISDN\",\"value\":\"18710002\",\"isShow\":true},{\"children\":[{\"name\":\"commonConfigData\",\"checked\":1,\"describeContent\":\"鉴权相关参数组 ID\",\"tooltipType\":0,\"isNeedID\":true,\"type\":2,\"describeKey\":\"AuthInfo_ID\",\"value\":\"AuthInfoList\"}],\"isEdit\":false,\"name\":\"AuthInfo_ID\"},{\"children\":[{\"name\":\"commonConfigData\",\"checked\":1,\"describeContent\":\"对应commonConfigData配置下公共参数\",\"tooltipType\":0,\"isNeedID\":false,\"type\":2,\"describeKey\":\"commonConfigData\",\"value\":\"PDNInfoList\"}],\"isEdit\":false,\"name\":\"DefaultDNN\"},{\"children\":[{\"name\":\"commonConfigData\",\"checked\":2,\"describeContent\":\"对应commonConfigData配置下公共参数\",\"tooltipType\":0,\"isNeedID\":false,\"type\":2,\"describeKey\":\"commonConfigData\",\"value\":\"PDNInfoList\"}],\"isEdit\":false,\"name\":\"DefaultDNN_IMS\"},{\"name\":\"UE_AMBR_DL\",\"describeContent\":\"UE AMBR DL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"UE_AMBR_DL\",\"value\":\"500000000\",\"isShow\":true},{\"name\":\"UE_AMBR_UL\",\"describeContent\":\"UE AMBR UL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"UE_AMBR_UL\",\"value\":\"500000000\",\"isShow\":true}],\"isEdit\":false,\"name\":\"UE\"},{\"children\":[{\"name\":\"SUPI\",\"describeContent\":\"SUPI, 15个10进制数\",\"type\":1,\"describeKey\":\"SUPI\",\"value\":\"460001111100001\",\"isShow\":true},{\"name\":\"SUCI_Scheme_Output\",\"describeContent\":\"SUCI, 10个10进制数\",\"type\":1,\"describeKey\":\"SUCI\",\"value\":\"1111100001\",\"isShow\":true},{\"name\":\"MS_ISDN\",\"describeContent\":\"MSISDN, 4-11个10进制数\",\"type\":1,\"describeKey\":\"MSISDN\",\"value\":\"18710001\",\"isShow\":true},{\"children\":[{\"name\":\"commonConfigData\",\"checked\":1,\"describeContent\":\"鉴权相关参数组 ID\",\"tooltipType\":0,\"isNeedID\":true,\"type\":2,\"describeKey\":\"AuthInfo_ID\",\"value\":\"AuthInfoList\"}],\"isEdit\":false,\"name\":\"AuthInfo_ID\"},{\"children\":[{\"name\":\"commonConfigData\",\"checked\":1,\"describeContent\":\"对应commonConfigData配置下公共参数\",\"tooltipType\":0,\"isNeedID\":false,\"type\":2,\"describeKey\":\"commonConfigData\",\"value\":\"PDNInfoList\"}],\"isEdit\":false,\"name\":\"DefaultDNN\"},{\"children\":[{\"name\":\"commonConfigData\",\"checked\":2,\"describeContent\":\"对应commonConfigData配置下公共参数\",\"tooltipType\":0,\"isNeedID\":false,\"type\":2,\"describeKey\":\"commonConfigData\",\"value\":\"PDNInfoList\"}],\"isEdit\":false,\"name\":\"DefaultDNN_IMS\"},{\"name\":\"UE_AMBR_DL\",\"describeContent\":\"UE AMBR DL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"UE_AMBR_DL\",\"value\":\"500000000\",\"isShow\":true},{\"name\":\"UE_AMBR_UL\",\"describeContent\":\"UE AMBR UL, 10进制数，单位bps\",\"type\":1,\"describeKey\":\"UE_AMBR_UL\",\"value\":\"500000000\",\"isShow\":true}],\"isEdit\":false,\"name\":\"UE2\"}],\"isEdit\":false,\"name\":\"UEList\"},{\"children\":[{\"children\":[{\"name\":\"gNB_IP_Address\",\"describeContent\":\"IPv4 或 IPv6地址\",\"type\":1,\"describeKey\":\"IP_ADDRESS\",\"value\":\"10.10.215.188\",\"isShow\":true}],\"isEdit\":false,\"name\":\"gNB\"},{\"children\":[{\"name\":\"gNB_IP_Address\",\"describeContent\":\"IPv4 或 IPv6地址\",\"type\":1,\"describeKey\":\"IP_ADDRESS\",\"value\":\"10.10.215.189\",\"isShow\":true}],\"isEdit\":false,\"name\":\"gNB\"}],\"isEdit\":false,\"name\":\"gNBList\"},{\"children\":[{\"children\":[{\"name\":\"eNB_IP_Address\",\"describeContent\":\"IPv4 或 IPv6地址\",\"type\":1,\"describeKey\":\"IP_ADDRESS\",\"value\":\"10.10.215.198\",\"isShow\":true}],\"isEdit\":false,\"name\":\"eNB\"},{\"children\":[{\"name\":\"eNB_IP_Address\",\"describeContent\":\"IPv4 或 IPv6地址\",\"type\":1,\"describeKey\":\"IP_ADDRESS\",\"value\":\"10.10.215.199\",\"isShow\":true}],\"isEdit\":false,\"name\":\"eNB\"}],\"isEdit\":false,\"name\":\"eNBList\"},{\"children\":[{\"name\":\"BaseStation_GATEWAY\",\"describeContent\":\"gNB和eNB网关IP地址\",\"type\":1,\"describeKey\":\"BaseStation_GATEWAY_DESCRIBE\",\"value\":\"\",\"isShow\":true},{\"name\":\"BaseStation_Dest_Network\",\"describeContent\":\"gNB和eNB的IP地址接口所在网段\",\"type\":1,\"describeKey\":\"BaseStation_Dest_Network_DESCRIBE\",\"value\":\"\",\"isShow\":true},{\"name\":\"DN_GATEWAY\",\"describeContent\":\"DN网关IP地址\",\"type\":1,\"describeKey\":\"DN_GATEWAY_DESCRIBE\",\"value\":\"\",\"isShow\":true},{\"name\":\"DN_Dest_Network\",\"describeContent\":\"DN的IP地址接口所在网段\",\"type\":1,\"describeKey\":\"DN_Dest_Network_DESCRIBE\",\"value\":\"\",\"isShow\":true}],\"isEdit\":false,\"name\":\"Route\"}],\"isEdit\":false,\"name\":\"TestBed1\"}],\"isEdit\":false,\"name\":\"CoreNetworkSim\"}]},\"name\":\"张鑫\"}";
        System.out.println(a);
        String s = formatJson(a);
        System.out.println("--------------------------------------");
        System.out.println(s);

    }


    /**
     * Format Json
     *
     * @param jsonStr json content
     * @return string
     */
    public static String formatJson(String jsonStr) {
        if (null == jsonStr || "".equals(jsonStr)) {
            return "";
        }
        StringBuilder sb = new StringBuilder();
        char last;
        char current = '\0';
        int indent = 0;
        for (int i = 0; i < jsonStr.length(); i++) {
            last = current;
            current = jsonStr.charAt(i);
            switch (current) {
                case '{':
                case '[':
                    sb.append(current);
                    sb.append('\n');
                    indent++;
                    addIndentBlank(sb, indent);
                    break;
                case '}':
                case ']':
                    sb.append('\n');
                    indent--;
                    addIndentBlank(sb, indent);
                    sb.append(current);
                    break;
                case ',':
                    sb.append(current);
                    if (last != '\\') {
                        sb.append('\n');
                        addIndentBlank(sb, indent);
                    }
                    break;
                case ':':
                    if (last != '\\' && last == '"') {
                        sb.append(current).append(" ");
                    } else {
                        sb.append(current);
                    }
                    break;
                default:
                    sb.append(current);
            }
        }
        return sb.toString();
    }

    /**
     * 添加空格
     *
     * @param sb
     * @param indent
     */
    private static void addIndentBlank(StringBuilder sb, int indent) {
        for (int i = 0; i < indent; i++) {
            sb.append('\t');
        }
    }

}
